//签名制作
var previewurl="";
function chooseFont(font)
{
	$("#fontnum").val(font);
}
function preView()
{
	var size = $("#selectSize").val();
	var font = $("#fontnum").val();
	var name = $("#name").val();
	var data = {
		size: size,
		font: font,
		name: name,
	};
	$.post(previewurl,data,preViewed,"json");
}

function preViewed(result)
{
	$("#preview").attr("src",result.imgsrc);
}

function preViewed()
{
	$("#preview").attr("src",result.imgsrc);
}